home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / misc / math / MathFX_src.lha / fxlab.c < prev    next >
C/C++ Source or Header  |  1995-12-20  |  365b  |  17 lines

  1. /* Simple routine for labelling graphs */
  2.  
  3. #include "mathfx.h"
  4.  
  5.  
  6. void fxlab(xlabel, ylabel, tlabel)
  7. char *xlabel, *ylabel, *tlabel;
  8. {
  9.       int level;
  10.       glev(&level);
  11.       if (level < 2) fatal("Please set up viewport before calling FXLAB.");
  12.  
  13.       fxmtex("t",2.0,0.5,0.5,tlabel);
  14.       fxmtex("b",3.2,0.5,0.5,xlabel);
  15.       fxmtex("l",5.0,0.5,0.5,ylabel);
  16. }
  17.